#pragma once

#include "Vector3.h"

namespace soft_renderer
{
	struct Box3
	{
		Vector3 min;
		Vector3 max;

		Box3();

		void setEmpty();

		void expandByPoint(Vector3 p);

		void expandByPoint(double x, double y, double z);

		Vector3 getSize();

		Vector3 getCenter();


		//bool intersectsPlane(Plane plane);
	};
}
